package com.jqbd.service;

import com.jqbd.common.MyJSON;
import com.jqbd.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * Created by Enzo Cotter on 2022/11/10.
 */
public interface UserService {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);
    public MyJSON<User> findAll(Map<String, Object> map);
    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    MyJSON<String> selectnickname();
}
